package work05;

public class CourseDemo {
    public static void main(String[] args) {
        Course c1 =new Course();

        c1.courseName="java程序设计";
        c1.credit=6;
        c1.output();

        Course c2 =new Course();
        c2.courseName="MySQL";
        c2.credit=4;


        c2.output();


    }
}
